package com.daydayup.test20190429;

import java.io.Serializable;

/**
 * 链表节点
 * 
 * @author Lee
 *
 */
public class Node implements Serializable {

	private static final long serialVersionUID = -2207724249033491925L;

	/** 前一节点 */
	private Node beforeNode;
	/** 值 */
	private Object value;
	/** 后一节点 */
	private Node nextNode;

	public Node getBeforeNode() {
		return beforeNode;
	}

	public void setBeforeNode(Node beforeNode) {
		this.beforeNode = beforeNode;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Node getNextNode() {
		return nextNode;
	}

	public void setNextNode(Node nextNode) {
		this.nextNode = nextNode;
	}

}
